package .entity;

import lombok.Data;
import java.util.Date;
import java.util.List;
import java.io.Serializable;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.GeneratedValue;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * @description 用户信息
 * @author 
 * @date 2020-03-04 18:03:24
 */
@Entity
@Data
@Table(name="userinfo")
public class Userinfo implements Serializable {

    private static final long serialVersionUID = 1L;

    @Id
    @GeneratedValue
    /**
    * 用户id
    */
    @Column(name="user_id")
    private Integer user_id;

    /**
    * 用户名
    */
    @Column(name="username")
    private String username;

    /**
    * 创建时间
    */
    @Column(name="addtime")
    private Date addtime;

    public Userinfo() {
    }

}
